package fy.input.conf;

/**
 * 扩展控件的具体配置
 * @author zc
 *
 */
class InputExtendConfBean {

	private String driverClassName;

	private String url;

	private String userName;

	private String password;

	private FormBean formBean;

	private InputExtendConfBean(InputExtendConfBeanCreator creator) {
		driverClassName = creator.getDriverClassName();
		url = creator.getUrl();
		userName = creator.getUserName();
		password = creator.getPassword();
		formBean = creator.getFormBean();
		creator = null;
	}

	public String getDriverClassName() {
		return driverClassName;
	}

	public String getUrl() {
		return url;
	}

	public String getUserName() {
		return userName;
	}

	public String getPassword() {
		return password;
	}

	public FormBean getFormBean() {
		return formBean;
	}

	
	public class InputExtendConfBeanCreator {

		private String driverClassName;

		private String url;

		private String userName;

		private String password;

		private FormBean formBean;

		public InputExtendConfBean create() {
			return new InputExtendConfBean(this);
		}

		private String getDriverClassName() {
			return driverClassName;
		}

		public void setDriverClassName(String driverClassName) {
			this.driverClassName = driverClassName;
		}

		private String getUrl() {
			return url;
		}

		public void setUrl(String url) {
			this.url = url;
		}

		private String getUserName() {
			return userName;
		}

		public void setUserName(String userName) {
			this.userName = userName;
		}

		private String getPassword() {
			return password;
		}

		public void setPassword(String password) {
			this.password = password;
		}

		private FormBean getFormBean() {
			return formBean;
		}

		public void setFormBean(FormBean formBean) {
			this.formBean = formBean;
		}

	}

}